package start.mapper;

import org.apache.ibatis.annotations.Mapper;
import start.model.Message;

import java.util.List;
import java.util.Map;

@Mapper
public interface MessageMapper {
	public List<Message> selectAll(Map<String, Object> map);
	public void insert(Message bean);
	public void update(Message bean);
	public void delete(int id);
	public Message selectOne(int id);
}
